package cn.tedu.oa.department.mapper;

import cn.tedu.oa.basicInfo.pojo.vo.BasicInfoVO;
import cn.tedu.oa.department.pojo.dto.DepartmentQuery;
import cn.tedu.oa.department.pojo.eneity.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author DELL
 */
@Repository
public interface DepartmentMapper {

    void insert(Department department);

    void update(Department department);

    void delete(Integer id);

    List<BasicInfoVO> select(DepartmentQuery departmentQuery);
}
